#!/bin/sh

# workingenv.py wrapper script
# 
# requires workingenv.py to be installed in your $PATH, get it from
# http://pypi.python.org/pypi/workingenv.py
#
# Eventually want to move to virtualenv.py as it is cleaner, unfortunately windows
# and os/x don't play nice with it.
#
# run this as:
#     workingenv_setup.sh /path/to/sandbox
# example:
#     ./workingenv_setup.sh /Users/jesse/sandboxes/pydistr 
#

DIRPATH=$1
REQ_LIST=$2
if [ ! $REQ_LIST ]; then
    REQ_LIST="dependencies.txt"
fi

workingenv.py -r $REQ_LIST $DIRPATH
